import Vue from "vue";
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const router = new VueRouter({
  routes: [
	{
		path: '/',
		meta:{hasTabber:true},
		component: ()=> import('./../page/page-home.vue')
	},
	{
		path: '/mi',
		meta:{hasTabber:true},
		component: ()=> import('./../page/page-mi.vue')
	},
	{
		path: '/type',
		meta:{hasTabber:true},
		component: ()=> import('./../page/page-type.vue')
	},
	{
		path: '/shop',
		meta:{hasTabber:true},
		component: ()=> import('./../page/page-shop.vue')
	},
	{
		path: '/my',
		meta:{hasTabber:true},
		component: ()=> import('./../page/page-my.vue')
	},
	{
		path: '/list',
		component: ()=> import('./../page/page-list.vue')
	},
	{
		path: '/detail',
		component: ()=> import('./../page/page-goods-detail.vue')
	}
  ]
})
// meta中存放是否为主界面的属性
export default router